package com.springDemo.Mybatis.dao;

import com.springDemo.Mybatis.entity.AddressBook;
import org.mybatis.spring.support.SqlSessionDaoSupport;


/**
 * Created by Administrator on 2016/8/10.
 */
public class AddressBookDaoImpl extends SqlSessionDaoSupport implements IAddressBookDao {


    @Override
    public void save(AddressBook addressBook) {
        getSqlSession().insert("addressBookSQL.insert",addressBook);
    }

    @Override
    public int countAll() {
        return 0;
    }
}
